@import url('assets/style/theme.less');
@import url('assets/style/mixin.less');

.pointsMall__friendList {
  margin-top: 24px;
  background-color: #ffffff;
  // margin-bottom: 85px;
  .pointsMall__box {
    height: 168px;
    width: 100%;
    top: 0;
    z-index: 55;
    position: sticky;
    background-color: #ffffff;

    .bar {
      padding-left: 32px;
      display: flex;
      flex-direction: row;
      // justify-content: space-around;
      align-items: center;

      .nav:last-child {
        padding-right: 32px;
      }

      .nav {
        display: flex;
        height: 88px;
        align-items: center;
        // justify-content: center;
        position: relative;
        margin-right: 32px;

        .points-mall-tab-item {
          color: #000;
          font-size: 24px;
          // margin-top: 30px;
          white-space: nowrap;
          margin-top: 32px;
        }

        .itemSelected {
          color: #ff6600;
          font-weight: bold;
        }

        .active {
          margin-top: 20px;
          width: 100%;
          align-items: center;
          justify-content: center;
          position: relative;

          .item {
            color: #000;
            font-size: 24px;
            margin-top: 30px;
          }

          .itemSelected {
            color: #ff6600;
          }

          .active {
            margin-top: 12px;
            width: 100%;
            align-items: center;
          }

          .activeLine {
            width: 48px;
            height: 4px;
            border-radius: 2px;
            background-color: #ff6600;
          }

          .noActiveLine {
            width: 48px;
            height: 4px;
            background-color: #ffffff;
          }
        }
      }
    }
  }

  .box2 {
    height: 80px;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    .bt {
      flex: 1;
      height: 100%;
      flex-direction: row;
      font-size: 24px;
      font-weight: 400;
      color: rgba(0, 0, 0, 0.8);
      align-items: center;
      justify-content: center;
    }

    .bt_img {
      width: 24px;
      height: 24px;
      margin-left: 8px;
    }

    .transform-i {
      transform: rotate(180deg);
    }

    .active {
      color: #ff6600;
      font-weight: bold;
    }
  }

  .goods-info {
    padding: 24px 24px 0 24px;
    flex-direction: row;
    align-items: center;

    .left-img {
      width: 160px;
      height: 160px;
      border-radius: 20px;
      margin-right: 24px;
    }

    .right-text {
      .text1 {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        word-break: break-all;
        overflow: hidden;
        font-size: 24px;
        font-weight: 400;
        color: rgba(0, 0, 0, 0.8);
        margin-bottom: 20px;
        line-height: 1.5;
      }

      .text2 {
        font-size: 28px;
        font-weight: 500;
        color: rgba(255, 102, 0, 1);
        margin-bottom: 8px;
      }

      .text3 {
        font-size: 20px;
        font-weight: 400;
        color: rgba(0, 0, 0, 0.4);
        text-decoration: line-through;
      }
    }
  }

  .right_lefts {
    //max-width: 75%;
  }

  .progress {
    width: 100px;
    height: 100px;
    align-items: center;
    justify-content: center;
  }

  .gray-state {
    background-image: url('../img/gray.png');
    width: 94px;
    height: 94px;
    background-size: 100% 100%;
    color: #999;
    font-size: 20px;
    align-items: center;
    justify-content: center;
  }

  .roundView {
    position: relative;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
  }
}

.goods-info-box {
  padding: 0 24px 24px 24px;
}

.goods-info1 {
  flex-direction: row;
  align-items: center;

  ::after {
    z-index: 0;
  }
  // border-radius: 12px;
  .border(@width:2px; @color:#E6E6E6; @radius:24px);
  // border: 2px solid rgba(230, 230, 230, 1);
  .left {
    width: 176px;
    height: 184px;
    background-size: 100% 100%;
    background-image: url('../img/coupon.png');
    border-radius: 12px 0 0 12px;
    align-items: center;
    justify-content: center;

    //background:linear-gradient(90deg,rgba(255,136,0,1) 0%,rgba(255,77,0,1) 100%);
    .left1 {
      font-size: 20px;
      font-weight: 500;
      color: rgba(255, 255, 255, 1);
    }

    .left2 {
      font-size: 48px;
      font-weight: 500;
      color: rgba(255, 255, 255, 1);
    }

    .left3 {
      font-size: 24px;
      font-weight: 400;
      color: rgba(255, 255, 255, 1);
      margin-top: 16px;
    }
  }

  .right {
    max-width: 478px;
    flex-direction: row;
    justify-content: space-between;
    // width: 100%;
    flex: 1;
    height: 184px;
    padding: 24px;

    .right_left {
      flex-direction: row;
      margin-bottom: 16px;
    }

    .coupon {
      width: 76px;
      height: 28px;
      background-size: 100% 100%;
      background-image: url('../img/youhui.png');
      font-size: 20px;
      font-weight: 500;
      color: rgba(255, 255, 255, 1);
      align-items: center;
      justify-content: center;
    }

    .coupons {
      width: 76px;
      height: 28px;
      background-size: 100% 100%;
      background-image: url('../img/youhuiCheng.png');
      font-size: 20px;
      font-weight: 500;
      color: rgba(255, 255, 255, 1);
      align-items: center;
      justify-content: center;
    }

    .couponT {
      font-size: 28px;
      font-weight: 400;
      color: rgba(0, 0, 0, 0.8);
      margin-left: 8px;
    }

    .couponText {
      font-size: 24px;
      font-weight: 400;
      color: rgba(0, 0, 0, 0.4);
      padding-bottom: 10px;
      white-space: nowrap;
      text-overflow: ellipsis;
      overflow: hidden;
      max-width: 300px;
    }

    .couponFen {
      font-size: 28px;
      font-weight: 500;
      color: rgba(255, 102, 0, 1);
      margin-right: 4px;
      margin-top: 5px;
    }

    .couponFens {
      font-size: 24px;
      font-weight: 400;
    }

    .couponDui {
      position: relative;
      width: 112px;
      height: 40px;
      background: linear-gradient(90deg, rgba(255, 136, 0, 1) 0%, rgba(255, 77, 0, 1) 100%);
      border-radius: 20px;
      font-size: 20px;
      font-weight: 500;
      color: rgba(255, 255, 255, 1);
      align-items: center;
      justify-content: center;
      margin-top: 8px;
      z-index: 1;
    }
  }
}

.right_lefts {
  //max-width: 75%;
}

.progress {
  width: 100px;
  height: 100px;
  align-items: center;
  justify-content: center;
}

.gray-state {
  background-image: url('../img/gray.png');
  width: 94px;
  height: 94px;
  background-size: 100% 100%;
  color: #999;
  font-size: 20px;
  align-items: center;
  justify-content: center;
}

.roundView {
  position: relative;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
}

.goods-info-other {
  padding: 24px 24px 0 24px;
  flex-direction: row;
  align-items: center;

  .left-img {
    width: 160px;
    height: 160px;
    border-radius: 20px;
    margin-right: 24px;
  }

  .right-text {
    width: 70vw;

    .text1 {
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
      word-break: break-all;
      overflow: hidden;
      font-size: 24px;
      font-weight: 400;
      color: rgba(0, 0, 0, 0.8);
      margin-bottom: 20px;
      line-height: 1.5;
    }

    .text2 {
      font-size: 28px;
      font-weight: 500;
      color: rgba(255, 102, 0, 1);
      margin-bottom: 8px;
    }

    .text3 {
      font-size: 20px;
      font-weight: 400;
      color: rgba(0, 0, 0, 0.4);
      text-decoration: line-through;
    }
  }
}
